---
title: Bento Grid
date: 2023-11-09
description: Bento grid is a layout used to showcase the features of a product in a simple and elegant way.
author: dillionverma
published: true
---

<ComponentPreview name="bento-demo" />

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx shadcn@latest add @magicui/bento-grid
```

</TabsContent>

<TabsContent value="manual">

<Steps>

<Step>Copy and paste the following code into your project.</Step>

<ComponentSource name="bento-grid" />

<Step>Update the import paths to match your project setup.</Step>

</Steps>

</TabsContent>

</Tabs>

## Examples

<ComponentPreview name="bento-demo-vertical" />

## Usage

```tsx showLineNumbers
import { BentoCard, BentoGrid } from "@/components/ui/bento-grid"
```

```tsx showLineNumbers
<BentoGrid>
  <BentoCard />
</BentoGrid>
```
